package com.pig4cloud.pig.item.api.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by caoxuel on 2020/10/14 11:27
 * @author caoxuel
 */
@Data
@TableName("category")
public class Category extends Model<Item> {

    @TableId(type = IdType.INPUT)
    private Long categoryId;

    private Long parentId;

    private String categoryName;


}
